package com.javaclimb.accounting.service;

import com.javaclimb.accounting.po.Account;
import com.javaclimb.accounting.po.Transfer;
import com.javaclimb.accounting.po.User;

import java.util.List;

public interface TransferService {
     List<User> getUsersByName(String beforeName, String afterName);
     List<User> getUsersByTel(String beforeTel, String afterTel);
     List<Account> getAccount(Long beforeId, Long afterId);
     void transfer(Transfer transfer, Account beforeAccount, Account afterAccount, double money);//转账；
}
